package com.yf1706.dao.jpa;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import com.yf1706.bean.BaseSalarySob;
/**
 * 
 * @author 锦涛
 *
 */
public interface IBaseSalarySobJDAO extends JpaRepository<BaseSalarySob, Integer>{
	
	@Query("SELECT b from BaseSalarySob b where b.baseSalarySobName like %?1%")
	Page<BaseSalarySob> findSearch (String query, Pageable pageable);
}
